<div class="page-right">
        <form action="<?php echo base_url();?>admin/user/save" method="post" name="adminForm" id="createuser" class="add:users: validate" enctype="multipart/form-data">
                <table class="form-table">
            	<tr class="form-field form-required">
            		<th scope="row"><label for="user_login">Tên người dùng <span class="description"></span></label></th>
            		<td><input name="name" type="text" id="name" value="<?php if(isset($item))echo $item->user_fullname;?>" aria-required="true" /></td>
            	</tr>
            	<tr class="form-field form-required">
            		<th scope="row"><label for="email">Tên đăng nhập <span class="description"></span></label></th>
            		<td><input name="username" type="text" id="username" value="<?php if(isset($item))echo $item->user_name;?>" /></td>
            	</tr>
                <tr class="form-field form-required">
            		<th scope="row"><label for="email">Mật khẩu mới</label></th>
            		<td><input name="password" type="password" id="password" value="" />
                        <br />
                        <span class="description">Nhập mật khẩu mới nếu bạn muốn thay đổi mật khẩu</span>
                    </td>
            	</tr>
                <tr class="form-field form-required">
            		<th scope="row"><label for="email">Nhập lại mật khẩu mới </label></th>
            		<td><input name="repassword" type="password" id="repassword" value="" />
                    <br />
                    <span class="description">Nhập lại mật khẩu mới</span>
                    </td>
            	</tr>
                <tr class="form-field form-required">
            		<th scope="row"><label for="email">Email <span class="description"></span></label></th>
            		<td><input name="email" type="text" id="email" value="<?php if(isset($item))echo $item->user_email;?>" /></td>
            	</tr>
                <tr class="form-field form-required">
            		<th scope="row"><label for="email">Điện thoại <span class="description"></span></label></th>
            		<td><input name="phone" type="text" id="phone" value="<?php if(isset($item))echo $item->user_phone;?>" /></td>
            	</tr>
                <tr>
            		<th scope="row"><label for="send_password">Hiển thị</label></th>
            		<td><label for="send_password"><input type="radio" name="publish" id="publish" value="1" <?php if(isset($item) && $item->user_publish==1)print('checked=checked');?>/> </label>
                        <span>Yes</span> 
                        <label for="send_password"><input type="radio" name="publish" id="publish2" value="0" <?php if(isset($item) && $item->user_publish==0)print('checked=true');?>  /> </label>
                        <span>No</span>
                    </td>
            	</tr>
                <tr class="form-field">
            		<th scope="row"><label for="last_name">Thứ tự </label></th>
            		<td><input name="order" type="text" id="order" value="<?php if(isset($item))echo $item->user_order;?>" />
                        <br />
                        <span class="description">Thứ tự người dùng</span>
                    </td>
            	</tr>
                <input type="hidden" name="id" value="<?php if(isset($item))echo $item->user_id;?>"/>
            	</table>
        <p class="submit"><input type="submit" name="createuser" id="createusersub" class="button-primary" value="Lưu lại "  /></p>
    </form>
</div>